
package com.mu.rai.services;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;



/**
 * <p>Java class for templateContainer complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="templateContainer">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="templates" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
 *                     &lt;element name="syslog_notifier" type="{http://services.rai.mu.com}syslogNotifier"/>
 *                     &lt;element name="analysis" type="{http://services.rai.mu.com}analysis"/>
 *                     &lt;element name="dos_attack" type="{http://services.rai.mu.com}dosAttack"/>
 *                     &lt;element name="dos_pattern" type="{http://services.rai.mu.com}dosPattern"/>
 *                     &lt;element name="ip_dos_protocol" type="{http://services.rai.mu.com}ipDosProtocol"/>
 *                     &lt;element name="layer2_dos_protocol" type="{http://services.rai.mu.com}layer2DosProtocol"/>
 *                     &lt;element name="tcp_dos_protocol" type="{http://services.rai.mu.com}tcpDosProtocol"/>
 *                     &lt;element name="udp_dos_protocol" type="{http://services.rai.mu.com}udpDosProtocol"/>
 *                     &lt;element name="external_attack" type="{http://services.rai.mu.com}externalAttack"/>
 *                     &lt;element name="mutation_attack" type="{http://services.rai.mu.com}mutationAttack"/>
 *                     &lt;element name="published_network_attack" type="{http://services.rai.mu.com}publishedNetworkAttack"/>
 *                     &lt;element name="console_channel" type="{http://services.rai.mu.com}consoleChannel"/>
 *                     &lt;element name="ssh_channel" type="{http://services.rai.mu.com}sshChannel"/>
 *                     &lt;element name="telnet_channel" type="{http://services.rai.mu.com}telnetChannel"/>
 *                     &lt;element name="command_monitor" type="{http://services.rai.mu.com}commandMonitor"/>
 *                     &lt;element name="console_monitor" type="{http://services.rai.mu.com}consoleMonitor"/>
 *                     &lt;element name="instrumentation" type="{http://services.rai.mu.com}instrumentation"/>
 *                     &lt;element name="remote_log_monitor" type="{http://services.rai.mu.com}remoteLogMonitor"/>
 *                     &lt;element name="syslog_monitor" type="{http://services.rai.mu.com}syslogMonitor"/>
 *                     &lt;element name="remote_trigger" type="{http://services.rai.mu.com}remoteTrigger"/>
 *                     &lt;element name="internal_restarter" type="{http://services.rai.mu.com}internalRestarter"/>
 *                     &lt;element name="snmp_restarter" type="{http://services.rai.mu.com}snmpRestarter"/>
 *                     &lt;element name="passthrough_target" type="{http://services.rai.mu.com}passthroughTarget"/>
 *                     &lt;element name="server_target" type="{http://services.rai.mu.com}serverTarget"/>
 *                     &lt;element name="testbed" type="{http://services.rai.mu.com}testbed"/>
 *                   &lt;/choice>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *       &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "templateContainer", propOrder = {
    "templates"
})
public class TemplateContainer {

    protected TemplateContainer.Templates templates;
    @XmlAttribute(required = true)
    protected String version;

    /**
     * Gets the value of the templates property.
     * 
     * @return
     *     possible object is
     *     {@link TemplateContainer.Templates }
     *     
     */
    public TemplateContainer.Templates getTemplates() {
        return templates;
    }

    /**
     * Sets the value of the templates property.
     * 
     * @param value
     *     allowed object is
     *     {@link TemplateContainer.Templates }
     *     
     */
    public void setTemplates(TemplateContainer.Templates value) {
        this.templates = value;
    }

    /**
     * Gets the value of the version property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVersion(String value) {
        this.version = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;choice maxOccurs="unbounded" minOccurs="0">
     *           &lt;element name="syslog_notifier" type="{http://services.rai.mu.com}syslogNotifier"/>
     *           &lt;element name="analysis" type="{http://services.rai.mu.com}analysis"/>
     *           &lt;element name="dos_attack" type="{http://services.rai.mu.com}dosAttack"/>
     *           &lt;element name="dos_pattern" type="{http://services.rai.mu.com}dosPattern"/>
     *           &lt;element name="ip_dos_protocol" type="{http://services.rai.mu.com}ipDosProtocol"/>
     *           &lt;element name="layer2_dos_protocol" type="{http://services.rai.mu.com}layer2DosProtocol"/>
     *           &lt;element name="tcp_dos_protocol" type="{http://services.rai.mu.com}tcpDosProtocol"/>
     *           &lt;element name="udp_dos_protocol" type="{http://services.rai.mu.com}udpDosProtocol"/>
     *           &lt;element name="external_attack" type="{http://services.rai.mu.com}externalAttack"/>
     *           &lt;element name="mutation_attack" type="{http://services.rai.mu.com}mutationAttack"/>
     *           &lt;element name="published_network_attack" type="{http://services.rai.mu.com}publishedNetworkAttack"/>
     *           &lt;element name="console_channel" type="{http://services.rai.mu.com}consoleChannel"/>
     *           &lt;element name="ssh_channel" type="{http://services.rai.mu.com}sshChannel"/>
     *           &lt;element name="telnet_channel" type="{http://services.rai.mu.com}telnetChannel"/>
     *           &lt;element name="command_monitor" type="{http://services.rai.mu.com}commandMonitor"/>
     *           &lt;element name="console_monitor" type="{http://services.rai.mu.com}consoleMonitor"/>
     *           &lt;element name="instrumentation" type="{http://services.rai.mu.com}instrumentation"/>
     *           &lt;element name="remote_log_monitor" type="{http://services.rai.mu.com}remoteLogMonitor"/>
     *           &lt;element name="syslog_monitor" type="{http://services.rai.mu.com}syslogMonitor"/>
     *           &lt;element name="remote_trigger" type="{http://services.rai.mu.com}remoteTrigger"/>
     *           &lt;element name="internal_restarter" type="{http://services.rai.mu.com}internalRestarter"/>
     *           &lt;element name="snmp_restarter" type="{http://services.rai.mu.com}snmpRestarter"/>
     *           &lt;element name="passthrough_target" type="{http://services.rai.mu.com}passthroughTarget"/>
     *           &lt;element name="server_target" type="{http://services.rai.mu.com}serverTarget"/>
     *           &lt;element name="testbed" type="{http://services.rai.mu.com}testbed"/>
     *         &lt;/choice>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "syslogNotifierOrAnalysisOrDosAttack"
    })
    public static class Templates {

        @XmlElements({
            @XmlElement(name = "snmp_restarter", type = SnmpRestarter.class, nillable = true),
            @XmlElement(name = "dos_attack", type = DosAttack.class, nillable = true),
            @XmlElement(name = "analysis", type = Analysis.class, nillable = true),
            @XmlElement(name = "external_attack", type = ExternalAttack.class, nillable = true),
            @XmlElement(name = "instrumentation", type = Instrumentation.class, nillable = true),
            @XmlElement(name = "remote_trigger", type = RemoteTrigger.class, nillable = true),
            @XmlElement(name = "tcp_dos_protocol", type = TcpDosProtocol.class, nillable = true),
            @XmlElement(name = "passthrough_target", type = PassthroughTarget.class, nillable = true),
            @XmlElement(name = "remote_log_monitor", type = RemoteLogMonitor.class, nillable = true),
            @XmlElement(name = "internal_restarter", type = InternalRestarter.class, nillable = true),
            @XmlElement(name = "command_monitor", type = CommandMonitor.class, nillable = true),
            @XmlElement(name = "dos_pattern", type = DosPattern.class, nillable = true),
            @XmlElement(name = "syslog_monitor", type = SyslogMonitor.class, nillable = true),
            @XmlElement(name = "testbed", type = Testbed.class, nillable = true),
            @XmlElement(name = "published_network_attack", type = PublishedNetworkAttack.class, nillable = true),
            @XmlElement(name = "console_monitor", type = ConsoleMonitor.class, nillable = true),
            @XmlElement(name = "mutation_attack", type = MutationAttack.class, nillable = true),
            @XmlElement(name = "telnet_channel", type = TelnetChannel.class, nillable = true),
            @XmlElement(name = "syslog_notifier", type = SyslogNotifier.class, nillable = true),
            @XmlElement(name = "ip_dos_protocol", type = IpDosProtocol.class, nillable = true),
            @XmlElement(name = "server_target", type = ServerTarget.class, nillable = true),
            @XmlElement(name = "console_channel", type = ConsoleChannel.class, nillable = true),
            @XmlElement(name = "udp_dos_protocol", type = UdpDosProtocol.class, nillable = true),
            @XmlElement(name = "layer2_dos_protocol", type = Layer2DosProtocol.class, nillable = true),
            @XmlElement(name = "ssh_channel", type = SshChannel.class, nillable = true)
        })
        protected List<NamedModelObject> syslogNotifierOrAnalysisOrDosAttack;

        /**
         * Gets the value of the syslogNotifierOrAnalysisOrDosAttack property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the syslogNotifierOrAnalysisOrDosAttack property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getSyslogNotifierOrAnalysisOrDosAttack().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link SnmpRestarter }
         * {@link DosAttack }
         * {@link Analysis }
         * {@link ExternalAttack }
         * {@link Instrumentation }
         * {@link RemoteTrigger }
         * {@link TcpDosProtocol }
         * {@link PassthroughTarget }
         * {@link RemoteLogMonitor }
         * {@link InternalRestarter }
         * {@link CommandMonitor }
         * {@link DosPattern }
         * {@link SyslogMonitor }
         * {@link Testbed }
         * {@link PublishedNetworkAttack }
         * {@link ConsoleMonitor }
         * {@link MutationAttack }
         * {@link TelnetChannel }
         * {@link SyslogNotifier }
         * {@link IpDosProtocol }
         * {@link ServerTarget }
         * {@link ConsoleChannel }
         * {@link UdpDosProtocol }
         * {@link Layer2DosProtocol }
         * {@link SshChannel }
         * 
         * 
         */
        public List<NamedModelObject> getSyslogNotifierOrAnalysisOrDosAttack() {
            if (syslogNotifierOrAnalysisOrDosAttack == null) {
                syslogNotifierOrAnalysisOrDosAttack = new ArrayList<NamedModelObject>();
            }
            return this.syslogNotifierOrAnalysisOrDosAttack;
        }

    }

}
